package com.masterclient.app.businessmodule.usermodule.login;

import android.os.Bundle;
import android.view.View;
import android.widget.TextView;

import com.alibaba.android.arouter.facade.annotation.Autowired;
import com.alibaba.android.arouter.facade.annotation.Route;
import com.eoner.baselib.widget.navgation.FCNavigationBar;
import com.eoner.baselibrary.bean.firstpager.SignBean;
import com.eoner.baselibrary.bean.personal.MedalDetailBean;
import com.eoner.managerlibrary.router.AroutePath;
import com.masterclient.app.R;
import com.masterclient.app.base.FCBusinessActivity;
import com.masterclient.app.businessmodule.minemodule.cash.CashAccountActivity;
import com.masterclient.app.businessmodule.minemodule.contract.PersonalContract;
import com.masterclient.app.businessmodule.minemodule.contract.PersonalPresenter;
import com.masterclient.app.businessmodule.minemodule.index.tutor.InviteInfoBean;

import butterknife.BindView;

/**
 * @auther hjian
 * @date 2019/12/27.
 */
@Route(path = AroutePath.BAN_ACCOUNT_ACTIVITY)
public class BanAccountActivity extends FCBusinessActivity<PersonalPresenter> implements PersonalContract.View {

    @BindView(R.id.tv_content)
    TextView tvContent;
    @BindView(R.id.tv_cash)
    TextView tvCash;

    @Autowired(name = "content")
    String content;

    @Override
    protected int requireGetLayoutId() {
        return R.layout.activity_ban_account;
    }

    @Override
    protected void requireSetCustomNavigationBar(FCNavigationBar navigationBar) {
        navigationBar.setTitle("封禁说明");
    }

    @Override
    protected void requireInitUIAndData(Bundle savedInstanceState) {
        tvContent.setText(content);
        tvCash.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {

                startActivitry(CashAccountActivity.class,null);
            }
        });
    }


    @Override
    public void signData(SignBean bean) {

    }

    @Override
    public void getMedalDetail(MedalDetailBean detailBean) {

    }

    @Override
    public void getShareInfoSuccess(InviteInfoBean detailBean) {

    }

    @Override
    public void getShareInfoFail(String msg) {

    }
}
